package com.zwps.biz.dal.db.dao;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zwps.biz.api.model.vo.fourpipes.PubCommonFileVO;
import com.zwps.biz.dal.db.object.PubCommonFileDO;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Set;

/**
 * @Entity com.zwps.biz.dal.db.object.PubCommonFile
 */
@DS("one")
public interface PubCommonFileDAO extends BaseMapper<PubCommonFileDO> {

    Set<String> existsByFileNames(@Param("list") List<String> fileNames);

    List<PubCommonFileVO> getFileByUrls(List<String> list);
}




